package com.inspur.project.system.domain;

/**
 * @Description 用于前端用户选择组件
 * @Date 2020/3/24 15:27
 * @auther SunJW
 */
public class SysDeptComp {
    //节点id
    private Long id;
    //节点名称
    private String name;
    //是否叶子节点
    private boolean leaf;
    //user代表节点为用户，dept代表为节点为部门
    private String nodeType;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isLeaf() {
        return leaf;
    }

    public void setLeaf(boolean leaf) {
        this.leaf = leaf;
    }

    public String getNodeType() {
        return nodeType;
    }

    public void setNodeType(String nodeType) {
        this.nodeType = nodeType;
    }
}
